﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YunCMS.Common
{
    /// <summary>
    /// Adapter class of Common lib
    /// </summary>
    public class YunCMSUtil
    {
        public static string EncryptPwd(string pwd)
        {
            //return EncryptHelper.Sh1Encode(pwd);
            return EncryptHelper.DESEncrypt(pwd);
        }

        public static string DecryptPwd(string pwd)
        {
            return EncryptHelper.DESDecrypt(pwd);
        }
    }
}
